Range camera

ABSTRACT

An active illumination range camera that acquires a range and a picture image of a scene and provides a reflectance for a feature in the scene responsive to a distance for the feature provided by the range image, a registered irradiance for the feature provided by the picture image and registered irradiance for a region of a calibration surface corresponding to the feature provided by an image of the calibration surface acquired by the range camera.

BACKGROUND

A range camera acquires distances to features in a scene that the range camera images and provides the distances in a range image. Typically, the range camera is an active lighting range camera and comprises a light source that the camera controls to transmit light to illuminate the scene. The range camera images light that the features reflect from the transmitted light back to the camera on pixels of a photosensor that the camera comprises to provide data which may be processed to determine the distances and generate the range image. In a time of flight range camera the camera provides the range image by determining how long it takes the transmitted light that is reflected and imaged on the pixels to make a round trip from the camera to the features and back to the camera. The camera uses the round trip times and the speed of light to determine the distances. In a stereo range camera, the camera provides the range image by determining binocular disparity for features in the scene responsive to the transmitted light that is reflected and imaged on the pixels. The camera triangulates the features responsive to their disparity to determine the distances. Usually, the transmitted light is infrared light (IR). In addition to a range image of a scene, a range camera may also provide a contrast image, a “picture image”, of the scene responsive to intensity of the transmitted light that is reflected by the features of the scene and reaches the camera. The picture image provides recognizable images of features in the scene and is advantageous for identifying the features for which the range image provides distances. The picture image and range image of a scene may be acquired by imaging the scene on a same photosensor or on different photosensors registered to each other.

SUMMARY

An aspect of an embodiment of the disclosure relates to providing a range camera that provides a reflectance image of a scene for which the range camera acquires a range image and a picture image. The reflectance image provides a reflectance for features in the scene imaged on pixels of the range camera photosensor for which the range camera provides distances.

To provide the reflectance for the features in the scene, the camera is calibrated in accordance with the disclosure by imaging under known calibration imaging conditions a “calibration surface” having known reflectance on a photosensor of the range camera to acquire a “calibration image”. The calibration image comprises measures of amounts of light that pixels in the photosensor register responsive to irradiation by light from regions of the calibration surface imaged on the pixels under the calibration conditions. An amount of light that a pixel registers from a region of the calibration surface may be referred to as registered calibration irradiance (RCI). A reflectance of a given feature of the scene imaged on a pixel of the range camera photosensor in the picture image is determined responsive to an amount of light, hereinafter also referred to as registered scene irradiance (RSI), registered by the pixel for the given feature in the picture image, distance of the feature from the camera determined from a range image of the scene, and the RCI of a corresponding pixel in the calibration image. The corresponding pixel is a pixel that images a region of the calibration surface corresponding to the given feature. The corresponding region of the calibration surface is a region that the range camera illuminates to acquire the calibration image along a same direction that the range camera illuminates the given feature of the scene to acquire the picture image of the scene. The RCI for a corresponding pixel on which the corresponding calibration region is imaged in the calibration image is used to normalize the RSI to provide a reflectance for the region of the scene and a reflectance image of the scene.

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

BRIEF DESCRIPTION OF FIGURES

Non-limiting examples of embodiments of the disclosure are described below with reference to figures attached hereto that are listed following this paragraph. Identical features that appear in more than one figure are generally labeled with a same label in all the figures in which they appear. A label labeling an icon representing a given feature of an embodiment of the disclosure in a figure may be used to reference the given feature. Dimensions of features shown in the figures are chosen for convenience and clarity of presentation and are not necessarily shown to scale.

FIG. 1 schematically shows calibrating a range camera in accordance with an embodiment of the disclosure;

FIG. 2A schematically shows the range camera shown in FIG. 1 determining reflectance for a region of a scene perpendicular to an optic axis of the range camera, in accordance with an embodiment of the disclosure;

FIG. 2B schematically shows the range camera shown in FIG. 1 determining reflectance for a region of a scene that is not perpendicular to the optical axis in accordance with an embodiment of the disclosure; and

FIG. 3 schematically shows a human computer interface comprising a range camera operating to determine reflectance of a user's facial skin in accordance with an embodiment of the disclosure.

DETAILED DESCRIPTION

In the following detailed description a method of operating a range camera to acquire a calibration image of an optionally planar calibration surface in accordance with an embodiment of the disclosure is discussed with reference to FIG. 1. A method of using the calibration image to determine reflectance of a region of a scene imaged by the range camera in accordance with an embodiment of the disclosure is described with reference to FIG. 2A. In FIG. 2A the region of the scene for which reflectance is determined is, by way of example, parallel to the calibration surface shown in FIG. 1. How the method may be modified to determine reflectance for a region of the scene tilted with respect to the calibration surface, in accordance with an embodiment of the disclosure, is discussed with reference to FIG. 2B. FIG. 3 schematically shows a human computer interface comprising a range camera that operates to determine a user's facial reflectance in accordance with an embodiment of the disclosure. In the discussion, characters in bold script represent a vector. The characters in normal script represent the absolute value of the vector. A character in bold script accented by a cap represents a unit vector.

In the discussion, unless otherwise stated, adjectives such as “substantially” and “about” modifying a condition or relationship characteristic of a feature or features of an embodiment of the disclosure, are understood to mean that the condition or characteristic is defined to within tolerances that are acceptable for operation of the embodiment for an application for which it is intended. Unless otherwise indicated, the word “or” in the description and claims is considered to be the inclusive “or” rather than the exclusive or, and indicates at least one of, or any combination of items it conjoins.

It is noted that methods of providing a range camera with a calibration image and using the calibration image to determine reflectivity of features of a scene imaged by the camera in accordance with an embodiment of the disclosure are substantially independent of camera design and how the range camera determines distance to the features. Different range cameras calibrated and operated in accordance with an embodiment of the disclosure may therefore be expected to provide same reflectance images for a same scene substantially independent of how the range cameras operate to acquire range and picture images of the scene. The reflectance images may also be expected to be substantially independent of imaging conditions, such as, for a same spectrum, intensity of illumination of the scene and distances of the cameras from the scene.

As a result, image processing algorithms that process images of scenes acquired by a range camera calibrated in accordance with an embodiment of the disclosure to provide functionalities that may be responsive to reflectance of features in the scenes may be generic to range camera types. That is, the image processing algorithms may process a reflectance image of a scene to provide functionalities substantially in a same way and provide substantially a same result independent of type and design of a range camera that provides the image and/or imaging conditions under which the range camera acquired the image. Among functionalities responsive to reflectance of features that the image processing algorithms may advantageously provide include by way of example, person identification, gesture recognition, determination of emotional or physiological state from changes in skin tone, and avatar generation.

FIG. 1 schematically shows a range camera 20 imaging a calibration surface 50 under calibration imaging conditions to acquire a calibration image for use in determining reflectance of features in a scene that the camera images, in accordance with an embodiment of the disclosure. Range camera 20 is shown very simplified and may operate in accordance with any of various methods for determining distances to features in a scene that the range camera images and providing a range image of the scene responsive to the determined distances. Range camera 20 optionally determines distances to the features by time of flight and/or triangulation.

Optionally, range camera 20 comprises a light source 30 controllable to transmit, optionally infrared (IR) light to illuminate features in a scene the camera images, a photosensor 22 having pixels 23, and an optical system, which is represented by, and referred to as, a lens 24. Lens 24 collects light reflected by the features from light transmitted by light source 30 and images the reflected light onto pixels 23 of photosensor 22. The lens has an optical axis 25, optical center 26 and a diameter “D” that optionally defines an optical aperture, α=πD²/4, of the lens and the optical system the lens represents. A unit vector {circumflex over (γ)} lies along, and represents a direction of optical axis 25. Photosensor 22 is substantially perpendicular to optical axis 25 and located at a focal distance, “f”, from optical center 26. A pixel 23 comprised in photosensor 22 is located in the photosensor by pixel coordinates measured long x and y axes shown along edges of the photosensor. A pixel coordinate origin from which pixel coordinates may be measured is located at an intersection of optical axis 25 and photosensor 22. A pixel located at pixel coordinates x_(i) and y_(j) may be represented by p(x_(i),y_(j)) or p(i,j).

A controller 28 controls operation of range camera 20. The controller may by way of example, control intensity and modulation of light that light source 30 transmits to illuminate features in an imaged scene and shuttering of the camera to provide desired exposure periods for imaging transmitted light that is reflected by the features back to the range camera on pixels 23. Controller 28 may process light reflected by the features and registered by pixels 23 during the exposure periods to determine distances to the features and therefrom a range image of the scene and/or a picture image of the scene.

A pixel in a range camera, such as a pixel 23 in photosensor 22, registers incident light that irradiates the pixel by accumulating positive or negative electric charge, also referred to as “photocharge”, provided by electron-hole pairs generated by photons in the incident light. Circuitry in the range camera may convert photocharge accumulated by the pixels into voltages that are used as measures of the amounts of photocharge they respectively accumulate and thereby of irradiance of the pixels. An amount of light that a pixel registers, also referred to as registered irradiance, may refer to an amount of optical energy that irradiates the pixel, an amount of photocharge accumulated by a pixel responsive to irradiance, or to any representation of the accumulated photocharge such as a voltage, current, or digital data generated responsive to the accumulated photocharge.

Spatial locations of features in a field of view (FOV) of range camera 20 relative to the range camera are defined by spatial coordinates measured along X, Y, and Z axes of an optionally Cartesian coordinate system 41. The Z axis is optionally coincident with optical axis 25 of range camera 20. Light source 30 is located along the X axis at a distance X_(S) from optical center 26 and has an illumination axis 32, which is optionally parallel to optical axis 25 and intersects the X axis at a distance X_(S). Spatial locations of features in the FOV of range camera 20 relative to light source 30 may be defined by spatial coordinates measured along “primed” axes X′, Y′, and Z′ of a primed coordinate system 42. Optionally, the Z′ axis is coincident with illumination axis 32, and the X′ and Y′ axes are respectively parallel to the X and Y axes. Origins of coordinate systems 41 and 42 may be considered to be, and may be referred to as, the locations of lens 24 and light source 30.

Calibration surface 50 is optionally planar, and has a known reflectance “ρ_(o)”, which, optionally, is the same for substantially all regions of the calibration surface. The calibration conditions under which range camera 20 images calibration surface 50 optionally comprise a known distance and orientation of calibration surface 50 relative to the range camera optical axis 25, known range camera settings, such as aperture and exposure period, and a known optical output power with which light source 30 illuminates the calibration surface. By way of example, in FIG. 1 calibration surface 50 is perpendicular to optical axis 25, and is located at a distance Z_(o) from optical center 26 along the Z axis.

Let a region of calibration surface 50 imaged on a given pixel p(i,j,) shown in FIG. 1 be represented by

(X_(i),Y_(j),Z_(o)), where X_(i) and Y_(j) are X and Y coordinates of region

(X_(i),Y_(j),Z_(o)) in coordinate system 41. Coordinates X_(i) and Y_(j) correspond to coordinates x_(i), y_(j) of pixel p(i,j) in photosensor 22 and lie along a line that extends from substantially a central point in region

(X_(i),Y_(j),Z_(o)), passes through optic center 26 and ends substantially at a central point in pixel p(i,j). Coordinate x_(i)=−(f/Z_(o))X_(i) and coordinate y_(j)=−(f/Z_(o))Y_(j). Pixel p(i,j) on which

(X_(i),y_(j),Z_(o)) is imaged may be represented by p(i,j,Z_(o)) to associate the pixel with

(X_(i),Y_(j),Z_(o)), and to indicate that the feature, region

(X_(i),Y_(j),Z_(o)), imaged on the pixel is located at Z coordinate Z_(o).

(X_(i),Y_(j),Z_(o)) is located at a distance defined by a distance vector, “R(i,j,Z_(o))” that extends from optical center 26 to coordinates X_(i),Y_(j),Z_(o) at a zenith angle θ(i,j,Z_(o)) relative to the Z axis of coordinate system 41 and at an azimuth angle φ(i,j,Z_(o)) relative to the X axis of the coordinate system. The absolute value of |R(i,j,Z_(o))|≡R(i,j,Z_(o))=[X_(i) ²+Y_(j) ²+Z_(o) ²]^(1/2). In primed coordinate system 42, region

(X_(i),Y_(j),Z_(o)) has coordinates X′_(i)=(X_(i)−X_(S)), Y′_(j)=Y_(j), and Z′=Z_(o), and is located at distance defined by a distance vector R′(i,j,Z_(o)) directed from light source 30 at a zenith angle θ′(i,j,Z_(o)) relative to the Z′ axis and at an azimuth angle φ′(i,j,Z_(o)) relative to the X′ axis. |R′(i,j,Z_(o))|≡R′(i,j,Z_(o))=[X′_(i) ²+Y′_(j) ²+Z′_(o) ²]=^(1/2)=[X_(i)−X_(S))²+Y_(j) ²+Z_(o) ²]^(1/2). Arrows along distance vectors R(i,j,Z_(o)) and R′(i,j,Z_(o)) indicate direction of propagation of light from light source 30 to region

(X_(i),Y_(j),Z_(o)) and therefrom to pixel p(i,j) of photosensor 22. A unit normal to

(X_(i),Y_(j),Z_(o)) is represented by {circumflex over (η)}(i,j,Z_(o)). If “A_(p)” represents the area of a pixel p(i,j), and

(i,j,Z_(o)) the area of region

(X_(i),Y_(j),Z_(o)), then,

(i,j,Z _(o))=A _(p)(Z _(o) /f)².  (1)

If, under calibration conditions, optical power per unit solid angle of light that light source 30 transmits in a direction defined by a given zenith angle θ′ and azimuth angle φ′ is represented by a vector P_(o)(θ′,φ′), then optical power per unit solid angle that light source 30 transmits in the direction of

(X_(i),Y_(j),Z_(o)) is P_(o)(θ′(i,j,Z_(o)),φ′(i,j,Z_(o))), which, for convenience, may also be written P_(o)(θ′,φ′,(i,j,Z_(o))). A total amount of optical power, hereinafter also referred to as “total irradiance” (TIR), incident on

(X_(i),Y_(j),Z_(o)) from light source 30 under calibration conditions is therefore equal to the area

(i,j,Z_(o)) times the scalar product of {circumflex over (η)}(i,j,Z_(o)) and P_(o)(θ′,φ′,(i,j,Z_(o))) divided by the square of the distance from light source 30 to

(X_(i),Y_(j),Z_(o)). In symbols, letting TIR(

(X_(i),Y_(j),Z_(o))) represent a total irradiance of region

(X_(i),Y_(j),Z_(o)) by light source 30 under calibration conditions, TIR(

(X_(i),Y_(j),Z_(o))) may therefore be written: TIR(

(X _(i) ,Y _(j) ,Z _(o)))=

(i,j,Z _(o)){circumflex over (η)}(i,j,Z _(o))·P _(o)(θ′,φ′,(i,j,Z _(o)))/R′(i,j,Z _(o))²,  (2) where “·” indicates a scalar product.

Since calibration plane 50 is assumed parallel to photosensor 22, {circumflex over (η)}(i,j,Z_(o)) is parallel to axis Z and axis Z′ and, {circumflex over (η)}(i,j,Z _(o))·P _(o)(θ′,φ′,(i,j,Z _(o)))=P _(o)(θ′,φ′,(i,j,Z _(o)))cos θ′(i,j,Z _(o))=P _(o)(θ′,φ′,(i,j,Z _(o)))[Z _(o) /R′(i,j,Z _(o))].  (3) The expression for TIR(

(X_(i),Y_(j),Z_(o))) in equation (2) may therefore be written, TIR(

(X _(i) ,Y _(j) ,Z _(o)))=

(i,j,Z _(o))P _(o)(θ′,φ′,(i,j,Z _(o)))[Z _(o) /R′(i,j,Z _(o))³].  (4) Substituting the expression for

(i,j,Z_(o)) from equation (1) provides

$\begin{matrix} \begin{matrix} {{{TIR}\left( {{??}\left( {X_{i},Y_{j},Z_{o}} \right)} \right)} = {{A_{p}\left( {Z_{o}/f} \right)}^{2}{{P_{o}\left( {\theta^{\prime},\varphi^{\prime},\left( {i,j,Z_{o}} \right)} \right)}\left\lbrack {Z_{o}/{R^{\prime}\left( {i,j,Z_{o}} \right)}^{3}} \right\rbrack}}} \\ {= {\left( {A_{p}/f^{2}} \right){{{P_{o}\left( {\theta^{\prime},{\varphi^{\prime}\left( {i,j,Z_{o}} \right)}} \right)}\left\lbrack {Z_{o}/{R^{\prime}\left( {i,j,Z_{o}} \right)}} \right\rbrack}^{3}.}}} \end{matrix} & (5) \end{matrix}$

Assuming that

(i,j,Z_(o)) is a diffuse reflector that reflects light with equal optical power per unit solid angle in all directions in a hemisphere centered on

(i,j,Z_(o)) and facing range camera 20,

(i,j,Z_(o)) reflects light towards lens 24 along a direction of R(i,j,Z_(o)) defined by zenith and azimuth angles θ(i,j,Z_(o)) and φ(i,j,Z_(o)), with “reflected” optical power per solid angle, RP _(o)(θ,φ,(i,j,Z _(o)))={circumflex over (R)}(i,j,Z _(o))ρ_(o)TIR(

(X _(i) ,Y _(j) ,Z _(o)))/2π,  (6) where {circumflex over (R)}(i,j,Z_(o)) is a unit vector along R(i,j,Z_(o)) in a direction from

(i,j,Z_(o)) to lens 24.

Reflected optical power incident on aperture α of lens 24 from region

(X_(i),Y_(j),Z_(o)), that is total irradiance, TIR(α,

(X_(i),Y_(j),Z_(o))), of lens 24 by reflected light from

(X_(i),Y_(j),Z_(o)) may therefore be given by an expression:

$\begin{matrix} \begin{matrix} {{{TIR}\left( {\alpha,{{??}\left( {X_{i},Y_{j},Z_{o}} \right)}} \right)} = {\left( {\alpha/{R\left( {i,j,Z_{o}} \right)}^{2}} \right){\hat{\gamma} \cdot {{RP}_{o}\left( {\theta,\varphi,\left( {i,j,Z_{o}} \right)} \right)}}}} \\ {= {\left( {\alpha/{R\left( {i,j,Z_{o}} \right)}^{2}} \right){\hat{\gamma} \cdot}}} \\ {{{\hat{R}\left( {i,j,Z_{o}} \right)}\rho_{o}{{{TIR}\left( {{??}\left( {X_{i},Y_{j},Z_{o}} \right)} \right)}/2}\pi},} \end{matrix} & (7) \end{matrix}$ where (α/R(i,j)²){circumflex over (γ)}·{circumflex over (R)}(i,j,Z_(o)) is a solid angle subtended by aperture α at

(X_(i),Y_(j),Z_(o)). Noting that {circumflex over (γ)}·{circumflex over (R)}(i,j,Z_(o))=cos θ(i,j,Z_(o))=Z_(o)/R(i,j,Z_(o)), expression (7) may be rewritten: TIR(α,

(X _(i) ,Y _(j) ,Z _(o)))=(αZ _(o) /R(i,j,Z _(o))³)ρ_(o)TIR(

(X _(i) ,Y _(j) ,Z _(o)))/2π.  (8) Using the expression for TIR(

(X_(i),Y_(j),Z_(o))) given by equation (5), and rearranging terms, equation (8) becomes, TIR(α,

(X _(i) ,Y _(j) ,Z _(o)))=ρ_(o)(A _(p)α/2πf ²)Z _(o) ⁴ P _(o)(θ′,φ′,(i,j,Z _(o)))[R(i,j,Z _(o))R′(i,j,Z _(o))]⁻³.  (9)

Let τ, represent a coefficient that relates optical power, TIR(α,

(X_(i),Y_(j),Z_(o))), incident on pixel p(i,j) to the registered calibration irradiance RCI(i,j,Z_(o)), that the pixel provides as a measure of total irradiance TIR(α,

(X_(i),Y_(j),Z_(o))). RCI(i,j,Z_(o)), may be given by the equation:

$\begin{matrix} \begin{matrix} {{{RCI}\left( {i,j,Z_{o}} \right)} = {\tau\;{{TIR}\left( {\alpha,{{??}\left( {X_{i},Y_{j},Z_{o}} \right)}} \right)}}} \\ {= {\tau\;{\rho_{o}\left( {A_{p}\;{\alpha/2}\pi\; f^{2}} \right)}Z_{o}^{4}{P_{o}\left( {\theta^{\prime},{\varphi^{\prime}\left( {i,j,Z_{o}} \right)}} \right)}}} \\ {\left\lbrack {{R\left( {i,j,Z_{o}} \right)}{R^{\prime}\left( {i,j,Z_{o}} \right)}} \right\rbrack^{- 3}.} \end{matrix} & (10) \end{matrix}$ Measurements RCI(i,j,Z_(o)) acquired for a plurality of pixels p(i,j,Z_(o)) that image different regions

(X_(i),Y_(j),Z_(o)) of calibration surface 50 provide a calibration image for range camera 20. The calibration image may be used to determine reflectances of features in a scene imaged in a picture image of the scene acquired by range camera 20, in accordance with an embodiment of the disclosure as described below.

FIG. 2A schematically shows range camera 20 imaging a feature, a region A(X_(i),Y_(j),Z_(k)) of a scene (not shown), to acquire a picture image of the scene and determine reflectance of the region. A(X_(i),Y_(j),Z_(k)) is located at coordinates X_(i),Y_(j),Z_(k) of coordinate system 41, has an unknown reflectance ρ(i,j,k) and has a unit normal {circumflex over (η)}(i,j,Z_(k)), which may be written {circumflex over (η)}(i,j,k), parallel to optic axis 25. Region A(X_(i),Y_(j),Z_(k)) has an area A(i,j,Z_(k))=A_(p)(Z_(k)/f)², is located at a distance defined by a distance vector R(i,j,Z_(k)) that extends from light source 30 at a zenith angle θ(i,j,k) relative to the Z axis and at an azimuth angle φ(i,j,k) relative to the X axis. |R(i,j,Z_(k))|≡R(i,j,Z_(k))=[X_(i) ²+Y_(i) ²+Z_(k) ²]^(1/2). Region A(X_(i),Y_(j),Z_(k)), is imaged on a pixel p(i,j,k) of photosensor 22. With respect to coordinate system 42, region A(X_(i),Y_(j),Z_(k)) is located at coordinates X′_(i),=(X_(i)−X_(S)), Y′_(j)=Y_(j), and Z′=Z_(k) determined by a distance vector R′(i,j,Z_(k)) extending from light source 30 at zenith and azimuth angles θ′(i,j,k) and φ′ (i,j,k) respectively. |R′(i,j,Z_(k))|≡R′(i,j,Z_(k))=[X′_(i) ²=Y′_(j) ²+Z′_(k) ²]^(1/2)=[X_(i)−X_(S))_(i) ²+Y_(j) ²+Z_(k) ²]^(1/2). Arrows along distance vectors R(i,j,Z_(k)) and R′(i,j,Z_(k)) schematically indicate propagation of light from light source 30 to pixel p(i,j,k). It is noted that when range camera 20 images the scene comprising region A(X_(i),Y_(j),Z_(k)), calibration surface 50 is not present and is shown in FIG. 2A to show geometrical relationships between region A(X_(i),Y_(j),Z_(k)) and regions of the calibration surface.

Let an amount of light, that is, registered scene irradiance RSI, that pixel p(i,j,k) registers for light from region A(X_(i),Y_(j),Z_(k)) when acquiring the picture image of the scene comprising A(X_(i),Y_(j),Z_(k)) be represented by “RSI(i,j,Z_(k))”. Assume that controller 28 operates light source 30 to illuminate the scene with optical power P_(o)(θ′,φ′,(i,j,Z_(o))). Then, similar to determining RCI(i,j,Z_(o)) in accordance with equation (10) for pixel p(i,j,Z_(o)) that images region

(X_(i),Y_(j),Z_(o)) of calibration surface 50 under calibration conditions, RSI(i,j,Z_(k)), may be determined by an equation: RSI(i,j,Z _(k))=τρ(i,j,k)(A _(p)α/2πf ²)Z _(k) ⁴ P _(o)(θ′,φ′,(i,j,Z _(k)))[R(i,j,Z _(k))R′(i,j,Z _(k))]⁻³.  (11)

To determine ρ(i,j,k) for A(X_(i),Y_(j),Z_(k)) according to an embodiment of the disclosure, controller 28 controls range camera 20 to acquire a range image for the scene comprising region A(X_(i),Y_(j),Z_(k)) to determine a distance, R(i,j,Z_(k)), from the range camera to region A(X_(i),Y_(j),Z_(k)). The controller uses distance R(i,j,Z_(k)), RSI(i,j,Z_(k)) provided by pixel p(i,j,k) for A(X_(i),Y_(j),Z_(k)), and a RCI(i,j,Z_(o)) acquired for a pixel that images a region of calibration surface 50 in the calibration image acquired for range camera 20 that corresponds to region A(X_(i),Y_(j),Z_(k)) to determine reflectance ρ(i,j,k).

In an embodiment of the disclosure, a region of calibration surface 50 that corresponds to region A(X_(i),Y_(j),Z_(k)) comprises a region of the calibration surface that is illuminated by light from light source 30 when imaged by range camera 20 to acquire the calibration image along substantially a same direction along which light from light source 30 illuminates region A(X_(i),Y_(j),Z_(k)) to acquire the picture image of the scene comprising an image of A(X_(i),Y_(j),Z_(k)). In an embodiment of the disclosure, the corresponding region is a region

(X*_(i),Y*_(j),Z_(o)) shown in FIG. 2A having coordinates X*_(i),Y*_(j),Z_(o) in coordinate system 41 that is imaged on a pixel p(i*,j*,Z_(o)) of photosensor 22, and through which distance vector R′(i,j,Z_(k)) passes. Coordinates X_(i),Y_(j), and Z_(k) for A(X_(i),Y_(j),Z_(k)) provided by range camera 20 from coordinates of pixel p(i,j,k) on which the range camera images A(X_(i),Y_(j),Z_(k)), may be used to determine coordinates X*_(i),Y*_(i) in accordance with the following equations: X* _(i) =X _(i)+(1−(Z _(o) /Z _(k))X _(S) and Y* _(j)=(Z _(o) /Z _(k))Y _(j),  (12) Using equations (12), the coordinates x_(i)* and y_(j)* of pixel p(i*,j*,Z_(o)) may be written x _(i)*=−(f/Z _(o))X* _(i) and y _(j)*=−(f/Z _(o))Y* _(j).  (13)

The determined coordinates x_(i)* and y_(j)* identify a pixel p(i*,j*, Z_(o)) that provides a registered calibration irradiation, RCI(i*,j*,Z_(o)), for region

(X_(i)*,Y_(j)*,Z_(o)) corresponding to region A(X_(i),Y_(j),Z_(k)). In accordance with an embodiment of the disclosure, RCI(i*,j*,Z_(o)) is used to determine ρ(i,j,k) for region A(X_(i),Y_(j),Z_(k)) as described below.

From equation (10), RCI(i*,j*,Z _(o))=(τρ_(o) A _(p)α/2πf ²)Z _(o) ⁴ P _(o)(θ′,φ′,(i*,j*,Z _(o)))[R(i*,j*,Z _(o))R′(i*,*j,Z _(o))]⁻³.  (14) where R(i*,j*,Z_(o))=[X_(i*) ²+Y_(j*) ²+Z_(o) ²]^(1/2) and R′(i*,j*,Z_(o))=[X_(i*)−X_(S))²+Y_(j*) ²+Z_(o*) ²]^(1/2). In expression (14) P_(o)(θ′,φ′,(i*,j*,Z_(o))) is the magnitude of the optical power per unit solid angle that light source 30 transmits in the direction of region A(X_(i),Y_(j),Z_(k)) to illuminate A(X_(i),Y_(j),Z_(k)) with light. Rearranging equation (11) provides an equation for reflectance ρ(i,j,k) of A(X_(i),Y_(j),Z_(k)): ρ(i,j,k)=(τA _(p)α/2πf ²)⁻¹ Z _(k) ⁻⁴ [R(i,j,Z _(k))R′(i,j,Z _(k))]³RSI(i,j,Z _(k))/P _(o)(θ′,φ′,(i,j,Z _(k))).  (15) Rearranging equation 10 provides an expression for optical power P_(o)(θ′,φ′,(i,j,Z_(k))): P _(o)(θ′,φ′,(i*,j*,Z _(o)))=(2πf ²/τρ_(o) A _(p)α)RCI(i*,j*,Z _(o))Z _(o) ⁻⁴ [R(i*,j*,Z _(o))R′(i*,*j,Z _(o))]³.  (16) Substituting the expression for P_(o)(θ′,φ′,(i*,j*,Z_(o))) from equation (16) into equation (15) provides an equation that determines ρ(i,j,k): ρ(i,j,k)=ρ_(o)(Z _(o) /Z _(k))⁴[RSI(i,j,Z _(k))/RCI(i*,j*,Z _(o))][(R(i,j,Z _(k))/R(i*,j*,Z _(o)))(R′(i,j,Z _(k))/R′(i*,*j,Z _(o)))]³  (17) Equation (17) determines reflectance for region A(X_(i),Y_(j),Z_(k)) in accordance with an embodiment of the disclosure in terms of calibration reflectance ρ_(o), registered irradiances RSI(i,j,Z_(k)) and RCI(i*,j*,Z_(o)), and spatial coordinates provided by a range image acquired by range camera 20.

An alternative expression for ρ(i,j,k) may be determined by normalizing coordinates X_(i),Y_(j) and X′_(i),Y′_(j) to Z_(o) and writing equations (10) in terms of pixel coordinates x_(i) and y_(j) of a pixel p(i,j) to provide: RCI(i,j,Z _(o))={τ(A _(p)α/2πf ²)[1+(x _(i) /f)²+(y _(j) /f)²]^(−3/2)}ρ_(o) P _(o)(θ′,φ′,(i,j,Z _(o)))Z _(o) ⁻²[1+((x _(i) /f)−X _(S) /Z _(o))²+(y _(j) /f)²]^(−3/2).  (18) The quantities in curly brackets are constants and independent of Z_(o) for a given pixel. Representing the quantities in brackets by a constant K(i,j), the expression (18) may be written. RCI(i,j,Z _(o))=K(i,j)ρ_(o) P _(o)(θ′,φ′,(i,j,Z _(o)))Z _(o) ⁻²[1+((x _(i) /f)−X _(S) /Z _(o))²+(y _(j) /f)²]^(−3/2).  (19) Similarly, equation (11) for the pixel may be written, RSI(i,j,Z _(k))=K(i,j)ρ(i,j,k)P _(o)(θ′,φ′,(i,j,Z _(k)))Z _(k) ⁻²[1+((x _(i) /f)−X _(S) /Z _(k))²+(y _(j) /f)²]^(−3/2).  (20) As a result, p(i,j,k) may be determined in accordance with an expression, ρ(i,j,k)=ρ_(o)[RSI(i,j,Z _(k),)/RCI(i,j,Z _(o),ρ_(o))](Z _(k) ² /Z _(o) ²)P _(o)(θ′,φ′,(i,j,Z _(o)))/P _(o)(θ′,φ′,(i,j,Z _(k)))×[1+((x _(i) /f)−X _(S) /Z _(k))²+(y _(j) /f)²]^(3/2)/[1+((x _(i) /f)−X _(S) /Z _(o))²+(y _(j) /f)²]^(3/2).  (21)

In general, the term X_(S)/Z_(k) and X_(S)/Z_(o) are relatively small compared to the other terms in the expressions [1+((x_(i)/f)−X_(S)/Z_(k))²+(y_(j)/f)²] and [1+((x_(i)/f)−X_(S)/Z_(o))²+(y_(j)/f)²], and the ratio is P_(o)(θ′,φ′,(i,j,Z_(o)))/P_(o)(θ′,φ′,(i,j,Z_(k))) is a weak function of Z_(k). The terms following the term (Z_(k) ²/Z_(o) ²) in equation (21) may therefore conveniently be expressed as a power series about the coordinate Z_(o) optionally of the form (a_(o)(i,j,Z_(o))+a₁(i,j,Z_(o))Z_(k) ⁻¹+a₂(i,j,Z_(o))Z_(k) ⁻². . . ) so that ρ(i,j,k)=ρ_(o)[RSI(i,j,Z _(k),)/RCI(i,j,Z _(o),ρ_(o))](Z _(k) ² /Z _(o) ²)(a _(o)(i,j,Z _(o))+a ₁(i,j,Z _(o))Z _(k) ⁻¹+. . . )  (22)

In an embodiment of the disclosure range camera 20 is calibrated by imaging calibration surface 50 at each of a plurality of different known calibration distances from the range camera to provide calibration images and registered calibration irradiances RCI(i,j,Z′_(o)) for a plurality of known different distances “Z′_(o)” from the range camera. Coefficients for the power series may be determined from the calibration irradiances for each of the distances Z′_(o). Values of the calibration irradiances RCI(i,j,Z′_(o)) and associated coefficients (a_(o)(i,j,Z_(o)), a₁(i,j,Z_(o)), . . . for each pixel may be stored in a look up table (LUT) in controller 28. The controller uses the LUT values for a given pixel p(i,j) to determine a reflectance ρ(i,j,k), optionally in accordance with expression (22) for a feature that range camera 20 images on the given pixel.

In an embodiment, distances between calibration distances Z′_(o) are determined so that a number of power series coefficients stored in the LUT for a pixel p(i,j) occupies a desired amount of memory in controller 28, and is sufficient to provide values for ρ(i,j,k) for the pixel having desired accuracy in a desired controller processing time. In an embodiment, a number of power coefficients stored per pixel is less than or equal to about 5. Optionally, the number is less than or equal to 2.

In an embodiment of the disclosure each of a plurality of range cameras of a same given type and/or make is calibrated in a calibration procedure in which the range camera is operated to image calibration surface 50 at each of a plurality of known distances to acquire an empirical LUT specific to the camera. Values for irradiances and power series coefficients in the acquired empirical LUTs are suitably average to generate a generic LUT. The generic LUT may be installed in a range camera of the same given type and/or make for use in determining reflectances without having to operate the range camera to acquire an empirical LUT.

In deriving equation (17)-(22) it is assumed that reflectance of calibration surface 50 is the same for all regions of the calibration surface, the calibration surface is planar, and that range camera 20 illuminates the scene comprising A(X_(i),Y_(j),Z_(k)) with a same optical power P_(o)(θ′,φ′,(i*,j*,Z_(o))) used to acquire a calibration image for the range camera. Embodiments are not limited to planar calibration surfaces having uniform reflectance ρ_(o). For example, RCIs useable for determining a reflectance ρ(i,j,k) for features in a scene may be determined for a cylindrical or a spherical calibration surface using a modification of equations (17)-(22) that accounts for the non-planar geometry of the calibration surface. And reflectance of calibration surface 50 may for example, be a known, non-constant function ρ_(o)(i,j,k) of coordinates X_(i),Y_(j),Z_(k) on the calibration surface. Nor is practice of an embodiment of the disclosure limited to illuminating a scene with optical power P_(o)(θ′,φ′,(i*,j*,Z_(o))). Light source 30 may be operated to illuminate scenes imaged by range camera 20 at different levels of optical power. Equations (17)-(22) may be modified to account for illuminating a scene at an optical power different from P_(o)(θ′,φ′,(i*,j*,Z_(o))) by multiplying the right hand side of equation (17) and (22) by a suitable ratio between the different optical power and P_(o)(θ′,φ′,(i*,j*,Z_(o))).

It is noted that in the above description, the normal {circumflex over (η)}(i,j,Z_(o)) to calibration surface region

(X_(i),Y_(j),Z_(o)), and the normal {circumflex over (η)}(i,j,Z_(k)) to scene region A(X_(i),Y_(j),Z_(k)) are assumed parallel to optic axis 25 of range camera 20. However, practice of an embodiment of the disclosure is not limited to determining reflectances for scene regions having normals parallel to optic axis 25 and for tilted scene regions a modification of expression (17) may be used to provide reflectances ρ(i,j,k) for the regions.

For example, FIG. 2B schematically shows a scenario for which calibration surface 50 is perpendicular to optic axis 25 and therefore {circumflex over (η)}(i,j,Z_(o)) is parallel to the optic axis, but a scene region A_(T)(X_(i),Y_(j),Z_(k)) is tilted relative to scene region A(X_(i),Y_(j),Z_(k)) shown in FIGS. 2A and 2B. Whereas the normal {circumflex over (η)}(i,j,Z_(o)) to scene region A(X_(i),Y_(j),Z_(k)) is parallel to optic axis 25, tilted scene region A_(T)(X_(i),Y_(j),Z_(k)) has a normal {circumflex over (η)}(i,j,Z_(k),T) that is tilted with respect to optic axis 25 by optionally an angle β. As a result of the tilt, A_(T)(X_(i),Y_(j),Z_(k)) has an area A_(T)(i,j,Z_(k)) imaged on photosensor pixel p(i,j,k) equal to

$\begin{matrix} \begin{matrix} {{A_{T}\left( {i,j,Z_{k}} \right)} = {\left\lbrack {A_{p}\left( {Z_{k}/f} \right)}^{2} \right\rbrack\left\lbrack {\cos\;{{{\theta\left( {i,j,Z_{k\;}} \right)}/{\hat{R}\left( {i,j,Z_{k}} \right)}} \cdot {\hat{\eta}\left( {i,j,Z_{k},T} \right)}}} \right\rbrack}} \\ {{= {{A\left( {i,j,Z_{k}} \right)}\left\lbrack {\cos\;{{{\theta\left( {i,j,Z_{k}} \right)}/{\hat{R}\left( {i,j,Z_{k}} \right)}} \cdot {\hat{\eta}\left( {i,j,Z_{k},T} \right)}}} \right\rbrack}},} \end{matrix} & (23) \end{matrix}$ where [A_(p)(Z_(k)/f)²] is the area A(i,j,Z_(k)) of non-tilted scene region A(X_(i),Y_(j),Z_(k)) determined similarly to determining

(i,j,Z_(o)) in accordance with equation (1).

In addition, in an equation for total irradiance TIR(A_(T)(X_(i),Y_(j),Z_(k))) of tilted scene region A_(T)(X_(i),Y_(j),Z_(k)) similar to equation (2) for TIR(

(X_(i),Y_(j),Z_(o))), it may not be appropriate, as provided for TIR(

(X_(i),Y_(j),Z_(o))) by equation (3), to replace {circumflex over (η)}(i,j,Z_(k),T)·P_(o)(θ′,φ′,(i,j,Z_(k))) with P_(o)(θ′,φ′,(i,j,Z_(k)))[Z_(k)/R′(i,j,Z_(k))]. In equation (3), {circumflex over (η)}(i,j,Z_(o))·P_(o)(θ′,φ′,(i,j,Z_(o))) is replaced by P_(o)(θ′,φ′,(i,j,Z_(o)))[Z_(o)/R′(i,j,Z_(o))] under the assumption that normal {circumflex over (η)}(i,j,Z_(o)) to

(X_(i),Y_(j),Z_(o)) is parallel to optic axis 25 and as a result {circumflex over (η)}(i,j,Z_(o))·{circumflex over (P)}_(o)(θ′,φ′,(i,j,Z_(o)))=cos θ′(i,j,Z_(o))=[Z_(o)/R′(i,j,Z_(o))]. Irradiance RSI(i,j,Z_(k)) of A(X_(i),Y_(j),Z_(k)) given by expression (11) is similarly dependent on the assumption that normal {circumflex over (η)}(i,j,Z_(k)) to A(X_(i),Y_(j),Z_(k)) is parallel to optic axis 25 and therefore that {circumflex over (η)}(i,j,Z_(k))·{circumflex over (P)}_(o)(θ′,φ′,(i,j,Z_(k)))=cos θ′(i,j,Z_(k))=[Z_(k)/R′(i,j,Z_(k))].

Since the assumption that {circumflex over (η)}(i,j,Z_(k)) is parallel to optic axis 25 and its consequence that cos θ′(i,j,Z_(o))=[Z_(o)/R′(i,j,Z_(o))] do not obtain for {circumflex over (η)}(i,j,Z_(k),T), equation (17) may not provide a satisfactory value for ρ(i,j,k) for tilted scene region A_(T)(X_(i),Y_(j),Z_(k)).

Therefore, in an embodiment of the disclosure, for a tilted scene region such as A_(T)(X_(i),Y_(j),Z_(k)) equation (17) may be adjusted for tilt by multiplying the right hand side of the equation by a “tilt factor” (TF) defined by an expression: TF=[Z_(k) /R′(i,j,Z _(k))cos θ(i,j,Z _(k))][{circumflex over (R)}(i,j,Z _(k))·{circumflex over (η)}(i,j,k,T)/{circumflex over (R)}′(i,j,Z _(k))·{circumflex over (η)}(i,j,k,T)].  (24) And if reflectance for a tilted scene region is represented by ρ_(T)(i,j,k), then ρ_(T)(i,j,k)=TFρ(i,j,k), which if ρ(i,j,k) is determined in accordance with equation (17), equals TFρ_(o)(Z _(o) /Z _(k))⁴[RSI(i,j,Z _(k))/RCI(i*,j*,Z _(o))][(R(i,j,Z _(k))/R(i*,j*,Z _(o)))(R′(i,j,Z _(k))/R′(i*,*j,Z _(o)))]³.  (25)

The expression for TF assumes that registered calibration irradiance RCI(i,j,Z_(o)) is determined for a planar calibration surface 50 as shown in FIG. 1 and defined by equation (10), and adjusts equation (17) or (22) to account for a difference in direction between {circumflex over (η)}(i,j,Z_(o)) and {circumflex over (η)}(i,j,k,T) in determining total irradiance of A_(T)(i,j,Z_(k)) by light from light source 42. In particular it is noted that total irradiance TIR(A(X_(i),Y_(j),Z_(k))) of a scene region A(X_(i),Y_(j),Z_(k)) having normal parallel to optic axis 25 may be written, similarly to equations (2) and (5):

$\begin{matrix} \begin{matrix} {{{TIR}\left( {A\left( {X_{i},Y_{i},Z_{k}} \right)} \right)} = {{A\left( {i,j,Z_{o}} \right)}{{\hat{\eta}\left( {i,j,Z_{k}} \right)} \cdot}}} \\ {{P_{o}\left( {\theta^{\prime},\varphi^{\prime},\left( {i,j,Z_{k}} \right)} \right)}/{R^{\prime}\left( {i,j,Z_{k}} \right)}^{2}} \\ {= {\left( {A_{p}/f^{2}} \right){{{P_{o}\left( {\theta^{\prime},\varphi^{\prime},\left( {i,j,Z_{k}} \right)} \right)}\left\lbrack {Z_{k}/{R^{\prime}\left( {i,j,Z_{k}} \right)}^{3}} \right\rbrack}.}}} \end{matrix} & (26) \end{matrix}$ Total irradiance of tilted scene region A_(T)(X_(i),Y_(j),Z_(k)) by light from light source 42 may similarly be written,

$\begin{matrix} \begin{matrix} {{{TIR}\left( {A_{T}\left( {X_{i},Y_{j},Z_{k}} \right)} \right)} = {{A_{T}\left( {i,j,Z_{k}} \right)}{{\hat{\eta}\left( {i,j,Z_{k},T} \right)} \cdot}}} \\ {{P_{o}\left( {\theta^{\prime},\varphi^{\prime},\left( {i,j,Z_{k}} \right)} \right)}/{R^{\prime}\left( {i,j,Z_{k}} \right)}^{2}} \\ {= {{A_{T}\left( {i,j,Z_{k}} \right)}{P_{o}\left( {\theta^{\prime},\varphi^{\prime},\left( {i,j,Z_{k}} \right)} \right)}}} \\ {\left( {{\hat{\eta}\left( {i,j,Z_{k},T} \right)} \cdot {{\hat{R}}^{\prime}\left( {i,j,Z_{k}} \right)}} \right)/{R^{\prime}\left( {i,j,Z_{k}} \right)}^{2}} \\ {= {{A_{T}\left( {i,j,Z_{k}} \right)}{P_{o}\left( {\theta^{\prime},\varphi^{\prime},\left( {i,j,Z_{k}} \right)} \right)}}} \\ {\left( {{\hat{\eta}\left( {i,j,Z_{k},T} \right)} \cdot {{\hat{R}}^{\prime}\left( {i,j,Z_{k}} \right)}} \right)} \\ {{\left( {{R^{\prime}\left( {i,j,Z_{k}} \right)}/Z_{k}} \right)\left\lbrack {Z_{k}/{R^{\prime}\left( {i,j,Z_{k}} \right)}^{3}} \right\rbrack}.} \end{matrix} & (27) \end{matrix}$ Using expression (23) for A_(T)(i,j,Z_(k)) in equation (27) results in:

$\begin{matrix} \begin{matrix} {{{TIR}\left( {A_{T}\left( {X_{i},Y_{j},Z_{k}} \right)} \right)} = {\left\lbrack {\cos\;{{{\theta\left( {i,j,Z_{k}} \right)}/{\hat{R}\left( {i,j,Z_{k}} \right)}} \cdot {\hat{\eta}\left( {i,j,Z_{k},T} \right)}}} \right\rbrack \cdot}} \\ {\left( {{\hat{\eta}\left( {i,j,Z_{k},T} \right)} \cdot {R^{\prime}\left( {i,j,Z_{k}} \right)}} \right)\left( {{R^{\prime}\left( {i,j,Z_{k}} \right)}/Z_{k}} \right) \times} \\ {\left\lbrack {A_{p}\left( {Z_{k}/f} \right)}^{2} \right\rbrack{P_{o}\left( {\theta^{\prime},\varphi^{\prime},\left( {i,j,Z_{k}} \right)} \right)}} \\ {\left\lbrack {Z_{k}/{R^{\prime}\left( {i,j,Z_{k}} \right)}^{3}} \right\rbrack} \\ {= \left\lbrack {\cos\;{{{\theta\left( {i,j,Z_{k}} \right)}/{\hat{R}\left( {i,j,Z_{k}} \right)}} \cdot {\hat{\eta}\left( {i,j,Z_{k},T} \right)}}} \right\rbrack} \\ {\left( {{\hat{\eta}\left( {i,j,Z_{k},T} \right)} \cdot {{R^{\prime}\left( {i,j,Z_{k}} \right)}/Z_{k}}} \right) \times} \\ {{TIR}\left( {A\left( {X_{i},Y_{j},Z_{k}} \right)} \right.} \\ {= {\cos\;{\theta\left( {i,j,Z_{k}} \right)}{\left( {{R^{\prime}\left( {i,j,Z_{k}} \right)}/Z_{k}} \right)\left\lbrack {\left( {{\hat{\eta}\left( {i,j,Z_{k}} \right)},T} \right) \cdot} \right.}}} \\ {{\left. {R^{\prime}\left( {i,j,Z_{k}} \right)} \right)/\left( \quad \right.}{{\hat{R}\left( {i,j,Z_{k}} \right)} \cdot {\hat{\eta}\left( {i,j,Z_{k},T} \right)}}\left. \quad \right\rbrack \times} \\ {{TIR}\left( {A\left( {X_{i},Y_{j},Z_{k}} \right)} \right.} \\ {= {{TF}^{- 1}{{TIR}\left( {{A\left( {X_{i},Y_{j},Z_{k}} \right)}.} \right.}}} \end{matrix} & (28) \end{matrix}$ Expression (28) defines TF for planar calibration surface 50 and a tilted scene region TIR(A_(T) (X_(i),Y_(j),Z_(k))).

Equations (23)-(28) express variables and reflectance of a tilted surface region A_(T)(i,j,Z_(k)) of a scene imaged by range camera 20 as a function of a unit normal, {circumflex over (η)}(i,j,Z_(k),T) of the region, which is not necessarily parallel to optic axis 25. In an embodiment of the disclosure, range camera 20 acquires 3D spatial coordinates, X_(i), Y_(j), and Z_(k), for points in a scene that define a range image of the scene and thereby 3D surfaces for features in the scene. In an embodiment of the disclosure, range camera 20 processes the 3D spatial coordinates to determine gradients for regions of the surfaces and therefrom normals {circumflex over (η)}(i,j,Z_(k),T) to the surface regions. The normals are optionally used in accordance with equations (23)-(28) or equations similar to equations (23)-(28) to determine reflectances for the surface regions. It is noted that whereas equations (23)-(28) relax a constraint that {circumflex over (η)}(i,j,Z_(k),T) is parallel to optic axis 50, the equations are constrained by an assumption that intensity of reflected light per unit solid angle from an illuminated surface is independent of angle of reflection relative to normals {circumflex over (η)}(i,j,Z_(k)) and {circumflex over (η)}(i,j,Z_(k),T). In an embodiment of the disclosure the constraint may be relaxed to determine RCI(i,j,Z_(o)) and it may be assumed for example that intensity of reflected light decreases proportional to the cosine of an angle that direction of propagation of the reflected light makes relative to normal {circumflex over (η)}(i,j,Z_(k)) and/or normal {circumflex over (η)}(i,j,Z_(k),T)

FIG. 3 schematically shows a user 180 interacting with a human computer interface (HCl) 200 optionally comprising a video screen 202 for providing visual information to the user and a range camera 20 having an optic axis 25 (FIG. 1). Range camera 20 images the user and user gestures to communicate information from the user to a computer (not shown), and operates in accordance with an embodiment of the disclosure to determine reflectance of regions of the facial skin of user 180 to characterize the user and user gestures. Controller 28 of camera 20 optionally comprises a calibration image having RCIs for pixels 23 in photosensor 22 determined in accordance with an embodiment of the disclosure. Optionally, the RCIs are determined as described with reference to FIG. 1. Controller 28 controls range camera 20 to acquire range images and picture images of user 180 and, optionally, determines skin reflectance for facial skin regions of user 180 responsive to the range and picture images of the user, and RCIs comprised in the calibration image.

Controller 28 may determine skin reflectance for regions of facial skin of user 180 in accordance with equation (17) or equation (22) under the assumption that normals to regions of the user's facial skin are substantially parallel to optic axis 25 of the range camera. Controller 28 may determine skin reflectance for regions of facial skin of user 180 in accordance with equations (23-28) after determining normals {circumflex over (η)}(i,j,Z_(k),T) to the user's facial skin regions. Optionally, the normals are determined by calculating gradients to surfaces of the user's facial skin responsive to 3D spatial coordinates provided by the range images. FIG. 3 schematically shows facial skin regions, represented by small rectangles 182 of user 180 and normals {circumflex over (η)}(i,j,Z_(k),T) schematically represented by arrows 184 to the facial skin regions.

In an embodiment of the disclosure range camera 20 illuminates the face of user 180 with IR light and monitors changes in IR reflectance of the user's facial skin region to determine the user's heartbeat and/or temperature. Optionally controller 28 uses changes in reflectance to provide information characterizing the user's emotional state. For example to determine if the user is blushing or angry.

There is therefore provided in accordance with an embodiment of the disclosure a range camera operable to determine distances to and reflectance for features of a scene that the range camera images, the range camera comprising: a light source operable to transmit light to illuminate a scene that the range camera images; a photosensor having light sensitive pixels; optics having an optical axis and optical center configured to receive light reflected from the transmitted light by features in the scene and image the reflected light on a plurality of the pixels, each of which plurality of pixels registers reflected light from a feature of the scene that the optics images on the pixel to provide a registered scene irradiance (RSI) for the feature; a calibration image comprising a registered calibration irradiance (RCI) for each of the light sensitive pixels that provides a measure of irradiance that the pixel registers responsive to light reflected from light transmitted by the light source by a region of a calibration surface having known shape, reflectance, and location that the range camera images on the pixel; and a controller operable to determine a reflectance for a feature of the scene imaged on a first pixel of the photosensor comprised in the plurality of pixels responsive to the RSI for the feature and an RCI for a region of the calibration surface imaged on a second pixel of the photosensor corresponding to the feature imaged on the first pixel.

In an embodiment, the feature imaged on the first pixel and the corresponding region of the calibration surface imaged on the second pixel are imaged on their respective pixels with light they reflect from light transmitted along a same direction by the light source. The determined reflectance for the feature imaged on the first pixel may be a function of a ratio RSI/RCI times reflectance ρ_(o) of the corresponding region of the calibration surface.

In an embodiment, the range camera determines a distance vector R for the feature that defines a location of the feature in a field of view (FOV) of the camera relative to the optics and a distance vector R′ that defines a location for the feature imaged on the first pixel in the FOV relative to the light source and uses R and R′ to determine a location on the calibration surface of the corresponding region of the calibration surface. Optionally, the range camera determines a distance vector R_(o) for the corresponding region of the calibration surface in the FOV of the range camera relative to the optics, and a distance vector R_(o)′ that defines a location of the corresponding region in the FOV relative to a location of the light source responsive to the determined location of the corresponding region of the calibration surface.

In an embodiment, the reflectance for the feature imaged on the first pixel is proportional to ρ_(o)(RSI/RCI)[(|R|/|R_(o)|)(|R′|/|R′_(o)|)]³ where ρ_(o) is reflectance of the corresponding region of the calibration surface.

Optionally, the calibration surface is oriented perpendicular to an optical axis of the camera at a fixed distance Z_(o) from the optical center along the optical axis and the feature imaged on the first pixel is located at a distance Z from the optical center along the optical axis.

In an embodiment, the reflectance for the feature imaged on the first pixel is proportional to ρ_(o)(Z_(o)/Z)⁴(RSI/RCI)[(|R|/|R_(o)|)(|R′|/|R′_(o)|)]³ where ρ_(o) is reflectance of the corresponding region of the calibration surface.

In an embodiment of the disclosure, the controller is operable to determine a tilt factor TF for the feature imaged on the first pixel and use the tilt factor to determine the reflectance for the feature, wherein TF=[Z/(|R′|({circumflex over (R)}·{circumflex over (Z)}))][({circumflex over (R)}·{circumflex over (η)})/({circumflex over (R)}′·{circumflex over (η)})] and {circumflex over (η)} is a unit normal to a surface of the feature imaged on the first pixel, “Z” is distance of the feature from the optical center along the optical axis, and {circumflex over (R)} and {circumflex over (R)}′ are unit vectors pointing from the feature to the optical center and the light source respectively. Optionally, the reflectance for the feature imaged on the first pixel is proportional to TFρ_(o)(Z_(o)/Z)⁴(RSI/RCI)[(|R|/|R_(o)|)(|R′|/|R′_(o)|)]³ where ρ_(o) is a known reflectance of the region imaged on the second pixel. The controller may control the range camera to acquire a range image of the scene and determines {circumflex over (η)} responsive to a gradient of a surface of the feature defined by the range image.

In an embodiment of the disclosure, the reflectance of the calibration surface is substantially the same for all regions of the calibration surface having an RCI comprised in the calibration image. In an embodiment of the disclosure, the calibration surface is planar.

There is further provided in accordance with an embodiment of the disclosure a method of determining reflectance for a feature of a scene, the method comprising: using an active lighting range camera to acquire a range image and a picture image of the scene responsive to light transmitted by the range camera to illuminate the scene that is reflected by features in the scene back to the range camera; determining a location of the feature in the FOV responsive to the range image; determining registered irradiance of the range camera by light reflected from the transmitted light by the feature responsive to the picture image; determining a corresponding region of a calibration surface imaged in a calibration image acquired by the range camera; determining registered irradiance of the range camera by light reflected from the transmitted light by the corresponding region responsive to the calibration image; and using the determined registered irradiances from the feature and the corresponding calibration region and known reflectance of the calibration surface to determine the reflectance of the feature.

Optionally, determining the corresponding region of the calibration surface comprises determining a region of the calibration surface for which light from the range camera that illuminates the region to acquire the calibration image is transmitted along a same direction that the range camera illuminates the feature to acquire the picture image. Determining the reflectance of the feature may comprise multiplying the known reflectance by a ratio equal to the registered irradiance from the feature divided by the registered irradiance from the corresponding region.

The method may comprise determining a unit normal {circumflex over (η)} to a surface of the feature responsive to the range image and using the unit normal to determine the reflectance. Optionally, using the normal comprises determining a first distance vector from an optical center of the range camera to the feature responsive to the range image and determining a first scalar product of the normal with the first distance vector. Using the normal may comprise determining a second distance vector from a location from which the range camera transmits light to illuminate the scene to the feature responsive to the range image and determining a second scalar product of the normal with the second distance vector. Optionally, determining the reflectance comprises determining a ratio between the first scalar product and the second scalar product.

In the description and claims of the present application, each of the verbs, “comprise” “include” and “have”, and conjugates thereof, are used to indicate that the object or objects of the verb are not necessarily a complete listing of components, elements or parts of the subject or subjects of the verb.

Descriptions of embodiments of the disclosure in the present application are provided by way of example and are not intended to limit the scope of the disclosure. The described embodiments comprise different features, not all of which are required in all embodiments. Some embodiments utilize only some of the features or possible combinations of the features. Variations of embodiments of the disclosure that are described, and embodiments comprising different combinations of features noted in the described embodiments, will occur to persons of the art. The scope of the invention is limited only by the claims. 

The invention claimed is:
 1. A range camera operable to determine distances to and reflectance for features of a scene that the range camera images, the range camera comprising: a light source operable to transmit light to illuminate a scene that the range camera images; a photosensor having a plurality of light sensitive pixels; optics having an optical axis and optical center configured to receive light reflected from the transmitted light by features in the scene and image the reflected light on the plurality of pixels, each of which pixel of the plurality of pixels registers reflected light from a feature of the scene that the optics images on the pixel to provide a registered scene irradiance (RSI) for the feature; a calibration image comprising a registered calibration irradiance (RCI) for each of the plurality of light sensitive pixels that provides a measure of irradiance that the pixel registers responsive to light reflected from light transmitted by the light source by a region of a calibration surface having known shape, reflectance, and location that the range camera images on the pixel; and a controller operable to determine a reflectance for a feature of the scene imaged on a first pixel of the plurality of pixels responsive to the RSI for the feature and an RCI for a region of the calibration surface imaged on a second pixel of the plurality of pixels corresponding to the feature imaged on the first pixel.
 2. The range camera according to claim 1 wherein the feature imaged on the first pixel and the corresponding region of the calibration surface imaged on the second pixel are imaged on their respective pixels with light they reflect from light transmitted along a same direction by the light source.
 3. The range camera according to claim 1 wherein the determined reflectance for the feature imaged on the first pixel is a function of a ratio RSI/RCI times reflectance ρ_(o) of the corresponding region of the calibration surface.
 4. The range camera according to claim 1 wherein the range camera determines a distance vector R for the feature that defines a location of the feature in a field of view (FOV) of the camera relative to the optics and a distance vector R′ that defines a location for the feature imaged on the first pixel in the FOV relative to the light source and uses R and R′ to determine a location on the calibration surface of the corresponding region of the calibration surface.
 5. The range camera according to claim 4 wherein the range camera determines a distance vector R_(o) for the corresponding region of the calibration surface in the FOV of the range camera relative to the optics, and a distance vector R_(o)′ that defines a location of the corresponding region in the FOV relative to a location of the light source responsive to the determined location of the corresponding region of the calibration surface.
 6. The range camera according to claim 5 wherein the reflectance for the feature imaged on the first pixel is proportional to ρ_(o)(RSI/RCI)[(|R|/|R_(o)|)(|R′|/|R′_(o)|)]³ where ρ_(o) is reflectance of the corresponding region of the calibration surface.
 7. The range camera according to claim 6 wherein the calibration surface is oriented perpendicular to an optical axis of the camera at a fixed distance Z_(o) from the optical center along the optical axis and the feature imaged on the first pixel is located at a distance Z from the optical center along the optical axis.
 8. The range camera according to claim 7 wherein the reflectance for the feature imaged on the first pixel is proportional to ρ_(o)(Z_(o)/Z)⁴(RSI/RCI)[(|R|/|R_(o)|)(|R′|/|R′_(o)|)]³ where ρ_(o) is reflectance of the corresponding region of the calibration surface.
 9. The range camera according to claim 1 wherein the controller is operable to determine a tilt factor TF for the feature imaged on the first pixel and use the tilt factor to determine the reflectance for the feature, wherein TF=[Z/(|R′|({circumflex over (R)}·{circumflex over (Z)}))][({circumflex over (R)}·{circumflex over (η)})/({circumflex over (R)}′·{circumflex over (η)})] and {circumflex over (η)} is a unit normal to a surface of the feature imaged on the first pixel, “Z” is distance of the feature from the optical center along the optical axis, and {circumflex over (R)} and {circumflex over (R)}′ are unit vectors pointing from the feature to the optical center and the light source respectively.
 10. The range camera according to claim 9 wherein the reflectance for the feature imaged on the first pixel is proportional to TFρ_(o)(Z_(o)/Z)⁴(RSI/RCI)[(|R|/|R_(o)|)(|R′|/|R′_(o)|)]³ where ρ_(o) is a known reflectance of the region imaged on the second pixel.
 11. The range camera according to claim 9 wherein the controller controls the range camera to acquire a range image of the scene and determines {circumflex over (η)} responsive to a gradient of a surface of the feature defined by the range image.
 12. The range camera according to claim 1 wherein the reflectance of the calibration surface is substantially the same for all regions of the calibration surface having an RCI comprised in the calibration image.
 13. The range camera according to claim 1 wherein the calibration surface is planar.
 14. A method of determining reflectance for a feature of a scene, the method comprising: using an active lighting range camera to acquire a range image and a picture image of the scene responsive to light transmitted by the range camera to illuminate the scene that is reflected by features in the scene back to the range camera; determining a location of the feature in the FOV responsive to the range image; determining registered irradiance of the range camera for light reflected from the transmitted light by the feature responsive to the picture image; determining a corresponding region of a calibration surface imaged in a calibration image acquired by the range camera; determining registered irradiance of the range camera for light reflected from the transmitted light by the corresponding region responsive to the calibration image; and using the determined registered irradiances from the feature and the corresponding calibration region and known reflectance of the calibration surface to determine the reflectance of the feature.
 15. The method according to claim 14 wherein determining the corresponding region of the calibration surface comprises determining a region of the calibration surface for which light from the range camera that illuminates the region to acquire the calibration image is transmitted along a same direction that the range camera illuminates the feature to acquire the picture image.
 16. The method according to claim 14 wherein determining the reflectance of the feature comprises multiplying the known reflectance by a ratio equal to the registered irradiance from the feature divided by the registered irradiance from the corresponding region.
 17. The method according to claim 16 and comprising determining a unit normal {circumflex over (η)} to a surface of the feature responsive to the range image and using the unit normal to determine the reflectance.
 18. The method according to claim 17 wherein using the normal comprises determining a first distance vector from an optical center of the range camera to the feature responsive to the range image and determining a first scalar product of the normal with the first distance vector.
 19. The method according to claim 18 wherein using the normal comprises determining a second distance vector from a location from which the range camera transmits light to illuminate the scene to the feature responsive to the range image and determining a second scalar product of the normal with the second distance vector.
 20. The method according to claim 19 wherein determining the reflectance comprises determining a ratio between the first scalar product and the second scalar product.
 21. A range camera operable to determine distances to and reflectance for features of a scene that the range camera images, the range camera comprising: a light source operable to transmit light to illuminate a scene that the range camera images; a photosensor having a plurality of light sensitive pixels; a look up table (LUT) having for each pixel of the plurality of light sensitive pixels a set of values for a first feature having known reflectance that is imaged on the pixel from a known first distance from the camera and illuminated by light at known intensity from the light source, the set of values comprising a registered calibration irradiance (RCI) for light reflected by the first feature from the illuminating light; and a controller that, determines a reflectance of a second feature imaged on the pixel from a second distance responsive to a square of the ratio of the first distance divided by the second distance, the RCI, and a registered scene irradiance (RSI) that the pixel provides for light from the light source that is reflected by the second feature and imaged on the pixel.
 22. The range camera according to claim 21 wherein the LUT comprises at least one coefficient of a power series that provides an expected registered irradiance that the pixel generates for light from the light source reflected by the first feature for a displacement of the first feature from the first distance.
 23. The range camera according to claim 22 wherein the controller determines the reflectance responsive to a coefficient of the at least one coefficient. 